﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VelesDBCore;
using VelesDBBL;

namespace VelesServiceLibrary
{
    public partial  class VelesService
    {
        public void DeleteCategory(int p)
        { new CategoryManager().DeleteCategory(p); }

        public void DeleteAttributesFromCategory(int p, List<int> AttributeIds)
        { new CategoryManager().DeleteAttributesFromCategory(p, AttributeIds); }

        public List<VelesDBCore.Category> SelectCategory()
        { return new CategoryManager().SelectCategory(); }

        public void UpdateCategory(VelesDBCore.Category category)
        { new CategoryManager().UpdateCategory(category); }

        public void InsertSubCategory(VelesDBCore.Category category)
        { new CategoryManager().InsertSubCategory(category); }

        public void InsertCategory()
        { new CategoryManager().InsertCategory(); }

        public void InsertAttributesInCategory(int p, List<int> AttributeIds)
        { new CategoryManager().InsertAttributesInCategory(p, AttributeIds); }

    }
}
